package com.meihua.baoleyi.bean;

import java.util.List;

/**
 * Created by jzm on 2017/11/13.
 * zm.jin@qq.com
 */

public class ShopCart {


    /**
     * code : 200
     * msg : 查询成功
     * data : [{"cart_id":9,"num":6,"goods_id":2,"goods_name":"快克","goods_price":"20.50","goods_img":"20171013\\ca67905982ce867544c9c6648ae2176e.gif"},{"cart_id":10,"num":6,"goods_id":1,"goods_name":"六位地黄丸","goods_price":"20.50","goods_img":"20171013\\ca67905982ce867544c9c6648ae2176e.gif"},{"cart_id":11,"num":12,"goods_id":4,"goods_name":"头孢氨苄","goods_price":"210.50","goods_img":"20171013\\ca67905982ce867544c9c6648ae2176e.gif"}]
     */

    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * cart_id : 9
         * num : 6
         * goods_id : 2
         * goods_name : 快克
         * goods_price : 20.50
         * goods_img : 20171013\ca67905982ce867544c9c6648ae2176e.gif
         */

        private int cart_id;
        private int num;
        private int goods_id;
        private String goods_name;
        private String goods_price;
        private String goods_img;

        public int getCart_id() {
            return cart_id;
        }

        public void setCart_id(int cart_id) {
            this.cart_id = cart_id;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public String getGoods_img() {
            return goods_img;
        }

        public void setGoods_img(String goods_img) {
            this.goods_img = goods_img;
        }
    }
}
